package edu.nf.vac.admin.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author : QYM
 * @create 2022/4/5
 */
@Controller
@Slf4j
public class PageController {
    @GetMapping("/{page}.html")
    public String forward(@PathVariable("page") String page){
        log.info("Path:" + page);
        return page;
    }
}
